<?php
class Zend_View_Helper_Adres extends Zend_View_Helper_Abstract{

	protected $_adres;

	public function adres(EventManager_Resource_Adres_Item $adres){
		$this->_adres = $adres;
		if(null != $this->_adres->description){
			return $this->_adres->description;
		}else{
			return $this->_adres->street;
		}
		//return $this;

	}


}